package com.example.threaddemo.创建线程;


/**
 * @Description: 创建线程的第二种方式
 * @Param: 
 * @return: 
 * @Author: mastermind
 * @Date: 2020-09-16 10:52
 */ 
public class Demo1 extends Thread {

    @Override
    public void run() {
        System.err.println("234343434");
    }
}


class aaaaa {
    public static void main(String[] args) {

        Demo1 demo1 = new Demo1();
        demo1.start();
    }
}